package com.creditcard;

import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * @author pw
 * @version 2017/12/26.
 */
@EnableEurekaClient
@EnableCircuitBreaker
@EnableScheduling
//@EnableFeignClients({"com.hl.ms.auth.client.feign"})
//@EnableAceCache
@SpringBootApplication
@ComponentScan(basePackages={"com.creditcard"})
//@EnableAceAuthClient
public class Bootstrap {
    public static void main(String[] args) {
        new SpringApplicationBuilder(Bootstrap.class).web(true).run(args);    }
}
